package com.caration.shell.item;

import android.content.ContentValues;

import com.caration.shell.workspace3D.ShellRenderHost;

public class AppWidgetInfo2 extends ItemInfo {
//	com.tsf.shell.workspace3D.h.e o;
	public int mWidgetId;
	public String q = "";
	public String mPkgName = "";
	public String mClsName = "";
	public boolean isInternal;

	public AppWidgetInfo2(int widgetId) {
		mItemType = 2;
		mWidgetId = widgetId;
//		ShellRenderHost.k().e(mWidgetId);
	}

	public void putValue(ContentValues cv) {
		super.putValue(cv);
//		mCellX = (int) this.o.H().x;
//		mCellY = (int) this.o.H().y;
//		mRotate = (int) this.o.I().z;
		cv.put("appWidgetId", Integer.valueOf(mWidgetId));
		cv.put("screen", Integer.valueOf(mScreen));
		cv.put("cellX", Integer.valueOf(mCellX));
		cv.put("cellY", Integer.valueOf(mCellY));
		cv.put("rotation", Integer.valueOf(mRotate));
		cv.put("packagename", mPkgName);
		cv.put("classname", mClsName);
		cv.put("internal", Boolean.valueOf(isInternal));
		if (mData != null)
			cv.put("data", mData);
	}

//	public final void a(e parame) {
//		this.o = parame;
//	}
//
//	public void c() {
//		super.c();
//		this.o = null;
//	}
//
//	public final e e() {
//		return this.o;
//	}

	public String toString() {
		return "AppWidget(id=" + Integer.toString(mWidgetId) + ")";
	}
}
